package edu.ou.herbarium.service;

import java.util.HashSet;
import java.util.Set;

/**
 * Institute entity. @author MyEclipse Persistence Tools
 */

public class Institute implements java.io.Serializable {

	// Fields

	private Integer instituteId;
	private String instituteName;
	private String instituteInfo;
	private Set<Specimen> specimens = new HashSet<Specimen>(0);

	// Constructors

	/** default constructor */
	public Institute() {
	}

	/** minimal constructor */
	public Institute(String instituteName) {
		this.instituteName = instituteName;
	}

	/** full constructor */
	public Institute(String instituteName, String instituteInfo, Set<Specimen> specimens) {
		this.instituteName = instituteName;
		this.instituteInfo = instituteInfo;
		this.specimens = specimens;
	}

	// Property accessors

	public Integer getInstituteId() {
		return this.instituteId;
	}

	public void setInstituteId(Integer instituteId) {
		this.instituteId = instituteId;
	}

	public String getInstituteName() {
		return this.instituteName;
	}

	public void setInstituteName(String instituteName) {
		this.instituteName = instituteName;
	}

	public String getInstituteInfo() {
		return this.instituteInfo;
	}

	public void setInstituteInfo(String instituteInfo) {
		this.instituteInfo = instituteInfo;
	}

	public Set<Specimen> getSpecimens() {
		return this.specimens;
	}

	public void setSpecimens(Set<Specimen> specimens) {
		this.specimens = specimens;
	}

}